<div>

Lorem ipsum dolor sit amet

<script type="text/javascript">
    // set global var
    var unitTestVariable1 = true;
</script>

Lorem ipsum dolor sit amet

<script type="text/javascript">
    // set another global var
    var unitTestVariable2 = true;
</script>

<script type="text/javascript">
    // set global var
    if (typeof scriptCount == 'undefined')
        var scriptCount = 1;
    else
        scriptCount++;
</script>

Lorem ipsum dolor sit amet

</div>
